measurement of the work of breathing